projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd6c880
)
GtkPaned: Set orientable style classes initially
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 18 Jul 2014 23:38:56 +0000
(19:38 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 18 Jul 2014 23:38:56 +0000
(19:38 -0400)
This was an omission, horizontal/vertical would only be set
when the orientation is changed.
gtk/gtkpaned.c
patch
|
blob
|
history
diff --git
a/gtk/gtkpaned.c
b/gtk/gtkpaned.c
index ae2f786bab6747fd9dff33011e9eb0260f1c2642..2855a290107f2e6166244a7097a515dd98277faf 100644
(file)
--- a/
gtk/gtkpaned.c
+++ b/
gtk/gtkpaned.c
@@
-789,6
+789,8
@@
gtk_paned_init (GtkPaned *paned)
priv->handle_pos.x = -1;
priv->handle_pos.y = -1;
+ _gtk_orientable_set_style_classes (GTK_ORIENTABLE (paned));
+
gesture = gtk_gesture_pan_new (GTK_WIDGET (paned),
GTK_ORIENTATION_HORIZONTAL);
gtk_gesture_single_set_touch_only (GTK_GESTURE_SINGLE (gesture), FALSE);